/* tag redefinitions */
html,body { margin: 0; padding: 0 }
body, td, input, select, textarea { font-family: Helvetica, sans-serif; font-size: 9pt; color: #222; }
body { line-height: 1.3; height: 100%; }
form { margin: 0; }
input, select, textarea { border: 1px solid #444; background-color: #eee; margin: 2px; }
form.button_to, form.button_to div { display: inline; }
form.button_to input { background-color: transparent; border: none; color: #258dc8; 
  text-decoration: none; padding: 0; margin: 0; cursor: pointer; }
h1, h2, h3 { color: black; }
h1 { margin: 0 0 10px 0; font-size: 17pt; }
h2 { font-size: 11pt; color: #888; }
h3 { font-size: 12pt; margin: 0; color: #444; }
ul { margin-top: 0; padding-left: 20px; }
li { margin-bottom: 5px; }
table { border-collapse: collapse; }
td { vertical-align: top; }

/* template */
#dev_mode_warning { background-color: red; color: white; font-weight: bold; padding: 5px; margin-bottom: 10px; }
#search { margin-bottom: 10px; }
#search #query { width: 600px; background-color: #eee; }
a { color: #258dc8; text-decoration: none; }
div#main { padding: 10px; }
div#title { margin-bottom: 10px; font-weight: bold; font-size: 18pt; }
#content { float: left; width: 100%; }

/* banner */
table#banner { width: 100%; height: 60px; }
table#banner td { vertical-align: middle; padding-left: 10px; }
table#banner td#logo { background-color: white; width: 90px; padding: 3px 0 0 10px; border: 1px solid black; }
table#banner td#logo div#inner { background-color: #eee; width: 90px; height: 54px; }
table#banner td#name { background-color: #258dc8; width: 205px; padding: 0 10px 0 0; }
table#banner td#name img { float: left; padding: 3px; margin: 0 10px; }
table#banner h1 { float: left; font-size: 26pt; color: white; margin-top: 9px; }
table#banner h1 a { color: white; }
table#banner td#menu { background-color: #77500D; height: 30px; }
table#banner td#menu a { margin-right: 10px; font-size: 12pt; text-decoration: none; font-weight: bold; color: White; }
table#banner td#crawler_info { background-color: #a6a6a6; color: white; }

/* crawler info */
div#crawler_info { float: left; margin: 0 15px 0 0; white-space: nowrap; }
div#crawler_info div.stat { float: left; margin: 0 15px 0 0; font-size: 10pt; font-weight: bold; }
div#crawler_info div.stat strong { }
div#crawler_info strong { font-weight: bold; }
div#crawler_info img { margin-bottom: -3px; }
div#crawler_info a { color: white; font-weight: bold; }

/* multi-purpose */
div.tip { margin-bottom: 10px; width: 800px; }
div.important { font-weight: bold; color: Black; }

/* loading indicator */
div.loader { background: url('/images/loader.gif') no-repeat; padding-left: 20px; }

/* search form */
form.new_search, form.edit_search { margin-bottom: 10px; }
form.new_search #search_query, form.edit_search #search_query { width: 300px; }
form.new_search #examples, form.edit_search #examples { color: #666; }

/* forms and index tables */
div.form, table.form { border-top: 1px solid #ddd; margin-bottom: 10px; }
div.form > div, table.form td { padding: 5px; border-bottom: 1px solid #ddd; }
div.form div.details, table.form td.details { width: 250px; }
div.reqd_sym { display: inline; font-weight: bold; color: #8f0000; font-size: 125%; line-height: 5px; vertical-align: middle; }
div.dummy, span.dummy { font-weight: bold; }
div.dummy_checkbox { float: left; width: 15px; font-weight: bold; }
table.form td.name { min-width: 75px; }
table.index_table th, table.form th { text-align: left; color: #444; background-color: #ddd; 
    font-size: 90%; padding: 3px 10px 3px 3px; }
table.index_table td { border-bottom: 1px solid #ddd; padding: 6px 10px 6px 3px; }
table.index_table td.actions_col img { margin-right: 5px; }

/* pagination */
div.pagination * { float: left; display: block; background-color: #eee; padding: 1px 4px; 
  margin-right: 4px; text-align: center; min-width: 12px; text-decoration: none; }
div.pagination *.disabled { display: none; }
div.pagination em { font-style: normal; font-weight: bold; }
div.pagination *.next_page, div.pagination *.previous_page { width: 80px; }

/* flash/error messages */
div.success, div.error { position: absolute; left: 25%; top: 64px; padding: 5px; 
    color: white; font-weight: bold; width: 600px; margin-bottom: 10px; }
div.success { background-color: #708d00; }
div.error { background-color: #8f0000; }
div.compact_error { color: #8f0000; font-weight: bold; }
div.field_with_errors { display: inline; }

/* report listing */
table.report_listing { width: 100%; }
table.report_listing .authored_col, table.report_listing .sourcename_col, table.report_listing .author_col { white-space: nowrap; }
table.report_listing .authored_col div.exact { font-size: 80%; color: #666; }
table.report_listing .content_col div { max-height: 100px; overflow: auto; }
table.report_listing .incidents_col div { width: 60px; }
table.report_listing .pertinent_col a, table.report_listing .incidents_col a { display: block; float: left; border: 1px solid #888; text-align: center; 
  font-weight: bold; padding: 0 3px; margin-right: 3px; }
table.report_listing .pertinent_col a { width: 25px; }
div#picker { border: 1px solid #444; position: absolute; background-color: white; padding: 10px; overflow: auto; } 
div#picker h3 { margin-top: 0; margin-bottom: 5px; }
table.picker td { white-space: nowrap; }
table.picker td.place_name div { overflow: hidden; white-space: nowrap; width: 200px; }

/* batch listing */
div#last_batch_time { float: right; width: 200px; padding: 10px; background-color: #a6a6a6; color: white; margin: -30px 0 10px 0; }
div#last_batch_time strong { display: block; font-size: 16pt; }

/* saved search listing */
.searches_index table td { }
.searches_index table td.rc { width: 10px; height: 20px; padding: 0; border: 1px solid white; cursor: pointer; }
.searches_index table td.y { background-color: #fff0f0; vertical-align: bottom; }
.searches_index table td.y div { background-color: Red; width: 10px; }
.searches_index table td.n { background-color: #f2f2f2; }
.searches_index table.hticks { margin-bottom: 10px; }
.searches_index .htick { font-size: 80%; border-left: 1px solid #666; background-color: #eee; width: 129px; white-space: nowrap; overflow: hidden; }
.searches_index .vtick { vertical-align: bottom; text-align: right; width: 30px; }
.searches_index .vtick div { vertical-align: bottom; border-top: 1px solid #444; font-size: 75%; }
.searches_index table.results { margin-bottom: 10px; }
.searches_index .search_query { font-size: 90%; }
.searches_index .search_query a { text-decoration: none; }

/* incidents map */
.incidents_index #incident_map { margin-bottom: 15px; }

/* sources */
.sources_index td.url_col { width: 200px; overflow: hidden; }
.new_source #url_field, .edit_source #url_field { width: 300px; }
.new_source #languages_field, .edit_source #languages_field { width: 300px; }
.new_source #keywords_field, .edit_source #keywords_field { width: 300px; height: 100px; }

/* source events */
.source_events_index td.msg_col { width: 600px; }

/* rule listing */
.rules_index .search_query_col { min-width: 300px; }